Skip to content

Improve task list rendering performance#41

Open
Jorel97 wants to merge 1 commit into
CodeBountyOrg:mainfrom
Jorel97:codex/performance-rendering-4
Open

Improve task list rendering performance#41
Jorel97 wants to merge 1 commit into
CodeBountyOrg:mainfrom
Jorel97:codex/performance-rendering-4

Conversation

@Jorel97
Copy link
Copy Markdown

@Jorel97 Jorel97 commented May 31, 2026

fixes #4

Summary

  • replace full-list rerenders with one-time delegated task list handlers
  • render initial tasks through a document fragment and cache task nodes by id
  • update only the changed task row on toggle/delete and prepend only the new row on add
  • add a preconnect hint for GitHub avatar requests
  • document the incremental task-list update behavior

Validation

  • npm test
  • npm run lint
  • node --check src/app.js
  • node --check test/app-performance.test.js
  • git diff --check
  • local server smoke at http://127.0.0.1:8033
  • Lighthouse 12 mobile against local server: Performance 100, Accessibility 100, Best Practices 96; FCP 1.1 s, LCP 1.4 s, TBT 0 ms

CodeBounty note

I am logged in as @Jorel97 on CodeBounty. The bounty page for #4 currently shows in_progress with existing applicants, so if a separate application action is required for this PR, please let me know how to associate it.

@codebounty-dev-bot
Copy link
Copy Markdown

⚠️ Attention Sponsor: This PR was submitted by @Jorel97 who has not applied for this bounty (#4). Please verify if you want to consider this contribution.

👋 Hey @Jorel97: This issue has a bounty on CodeBounty! To be eligible for the reward, please sign up on CodeBounty and apply for this bounty. If you apply, your PR will be automatically associated with your application.

@Jorel97
Copy link
Copy Markdown
Author

Jorel97 commented May 31, 2026

Hi CodeBounty/sponsor team, I logged in to CodeBounty as @Jorel97 and opened the bounty/repository views for #4. The page shows the bounty as in progress / already having applicants, but I do not currently see a developer Apply button that can associate this PR from my account. This PR was submitted for the performance bounty on #4. Could you please confirm whether this contribution can be associated with my application or whether there is a separate Apply step I should complete?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Lighthouse performance score to 90+

1 participant